package me.firstapp.module.weixin.transfer;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "TRANSFER_MEMBER")
public class TransferMember extends BaseEntity {

	private static final long serialVersionUID = -5076263469585070094L;

	public static final int STATUS_NORMAL = 1;// 正常
	public static final int STATUS_CANCEL = 0;// 作废

	// 用户ID
	@Column(name = "MEMBER_ID", nullable = false)
	private Long memberId;

	// 所属用户ID
	@Column(name = "OWN_MEMBER_ID", nullable = false)
	private Long ownMemberId;

	// 状态，0作废，1正常
	@Column(name = "STATUS", columnDefinition = " TINYINT ", nullable = false)
	private Integer status;

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Long getOwnMemberId() {
		return ownMemberId;
	}

	public void setOwnMemberId(Long ownMemberId) {
		this.ownMemberId = ownMemberId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
